package com.leqee.wxshop.base;

import android.app.Activity;
import android.os.Bundle;


public abstract class BaseActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());
        initView();
        setListener();
    }

    public abstract int getLayoutId();
    public abstract void initView();
    public abstract  void setListener();
}
